package com.ebraga.trackerclub.android.handler.service;

import com.ebraga.trackerclub.android.handler.core.ParameterHandlerImpl;
import com.ebraga.trackerclub.android.manager.api.ParameterManager;
import com.ebraga.trackerclub.android.manager.service.ParameterServiceManager;
import com.ebraga.trackerclub.android.util.api.AndroidContext;

public class ParameterServiceHandler extends ParameterHandlerImpl{

	public ParameterServiceHandler(AndroidContext context) {
		String enviroment = System.getProperty("Enviroment");
				
		if( enviroment==null || !enviroment.equals("UNIT_TEST") ) {			
			setParameterManager( new ParameterServiceManager(context) );
		}
	}
	
	public void setParameternManager (ParameterManager parameterManager){
		super.setParameterManager(parameterManager);
	}

}
